package com.solution.admin.auth.entity;

import com.solution.common.entity.BaseEntity;

/**
 * 组织信息实体类
 * @author diwankang
 * @date 2017年4月11日 上午10:35:48
 */
public class OrgEntity extends BaseEntity {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 组织编号
	 */
	private String orgCode;

	/**
	 * 组织名称
	 */
	private String orgName;

	/**
	 * 组织级别
	 */
	private Integer orgGrade;

	/**
	 * 组织路径
	 */
	private String orgPath;

	/**
	 * 父组织id
	 */
	private String parentId;
	
	/**
	 * 部门主管ID
	 */
	private String deptHead;
	
	/**
	 * 部门分管领导ID
	 */
	private String deptLeader;
	
	/**
	 * 部门管理员ID
	 */
	private String deptAdministrator;

	/**
	 * 简介
	 */
	private String intro;

	/**
	 * 版本
	 */
	private Integer version;
	/**
	 * 经销商ID
	 */
	private Long dealerId;
	/**
	 * 经销商名称
	 */
	private String dealerName;

	public String getDeptHead() {
		return deptHead;
	}


	public void setDeptHead(String deptHead) {
		this.deptHead = deptHead;
	}


	public String getDeptLeader() {
		return deptLeader;
	}


	public void setDeptLeader(String deptLeader) {
		this.deptLeader = deptLeader;
	}


	public String getDeptAdministrator() {
		return deptAdministrator;
	}


	public void setDeptAdministrator(String deptAdministrator) {
		this.deptAdministrator = deptAdministrator;
	}


	public String getDealerName() {
		return this.dealerName;
	}


	public void setDealerName(String dealerName) {
		this.dealerName = dealerName;
	}

	public Long getDealerId() {
		return this.dealerId;
	}

	public void setDealerId(Long dealerId) {
		this.dealerId = dealerId;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public Integer getOrgGrade() {
		return orgGrade;
	}

	public void setOrgGrade(Integer orgGrade) {
		this.orgGrade = orgGrade;
	}

	public String getOrgPath() {
		return orgPath;
	}

	public void setOrgPath(String orgPath) {
		this.orgPath = orgPath;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	@Override
	public String toString() {
		return "DepartmentEntity [orgCode=" + orgCode + ", orgName=" + orgName + ", orgGrade=" + orgGrade + ", orgPath=" + orgPath + ", parentId=" + parentId + ", intro=" + intro + ", version=" + version + ", dealerId=" + dealerId.toString() + ", dealerName=" + dealerName + "]";
	}

}
